package com.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Cangku entity. @author MyEclipse Persistence Tools
 */

public class Cangku implements java.io.Serializable {

	// Fields

	private Integer ckid;
	private String ckname;
	private String ckaddress;
	private String ckstyle;
	private Integer cap;
	private Set ruinfos = new HashSet(0);
	private Set emps = new HashSet(0);
	private Set products = new HashSet(0);
	private Set chuinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Cangku() {
	}

	/** full constructor */
	public Cangku(String ckname, String ckaddress, String ckstyle, Integer cap,
			Set ruinfos, Set emps, Set products, Set chuinfos) {
		this.ckname = ckname;
		this.ckaddress = ckaddress;
		this.ckstyle = ckstyle;
		this.cap = cap;
		this.ruinfos = ruinfos;
		this.emps = emps;
		this.products = products;
		this.chuinfos = chuinfos;
	}

	// Property accessors

	public Cangku(String ckname, String ckaddress, String ckstyle, Integer cap) {
		super();
		this.ckname = ckname;
		this.ckaddress = ckaddress;
		this.ckstyle = ckstyle;
		this.cap = cap;
	}

	public Integer getCkid() {
		return this.ckid;
	}

	public void setCkid(Integer ckid) {
		this.ckid = ckid;
	}

	public String getCkname() {
		return this.ckname;
	}

	public void setCkname(String ckname) {
		this.ckname = ckname;
	}

	public String getCkaddress() {
		return this.ckaddress;
	}

	public void setCkaddress(String ckaddress) {
		this.ckaddress = ckaddress;
	}

	public String getCkstyle() {
		return this.ckstyle;
	}

	public void setCkstyle(String ckstyle) {
		this.ckstyle = ckstyle;
	}

	public Integer getCap() {
		return this.cap;
	}

	public void setCap(Integer cap) {
		this.cap = cap;
	}

	public Set getRuinfos() {
		return this.ruinfos;
	}

	public void setRuinfos(Set ruinfos) {
		this.ruinfos = ruinfos;
	}

	public Set getEmps() {
		return this.emps;
	}

	public void setEmps(Set emps) {
		this.emps = emps;
	}

	public Set getProducts() {
		return this.products;
	}

	public void setProducts(Set products) {
		this.products = products;
	}

	public Set getChuinfos() {
		return this.chuinfos;
	}

	public void setChuinfos(Set chuinfos) {
		this.chuinfos = chuinfos;
	}

}